package org.grow.common;

import org.grow.common.config.MvcConfig;
import org.grow.common.controller.JwtController;
import org.grow.common.exception.ExceptionBridge;
import org.grow.common.interceptor.AuthInterceptor;
import org.grow.common.properties.CommonProperties;
import org.grow.common.service.JwtService;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Author: xwg
 * @CreateDate: 2023/9/21
 */

@Configuration
//@ComponentScan(basePackages = {"org.grow.common"})
// @import replace componentscan
@EnableConfigurationProperties({CommonProperties.class})
@Import({MvcConfig.class, AuthInterceptor.class, ExceptionBridge.class, JwtService.class, JwtController.class})
public class FinancialCommonAutoConfig {
}
